//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package commands;

import common.ByteStream;

public class ClaimRoadsideShopStand extends LogicCommand {
    private int slotId;
    private final int cmdId = 31;

    public ClaimRoadsideShopStand(int tt, int slotId) {
        super(tt);
        this.slotId = slotId;
    }

    public int getCommandId() {
        return 31;
    }

    public void encode(ByteStream stream) {
        stream.writeInt(31);
        stream.writeShort(this.slotId);
        stream.writeInt(this.ticksWhenTouch().intValue());
    }
}
